﻿using MediatR;
using PublicClass;
using PublicClass.BreedingEnum;
using S.Breeding.Domain;

namespace S.Breeding.Read.Api.Application.Command.DeathManageCommand
{
    public class DeathManageListCommand : IRequest<PageInfo<DeathManage>>
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int pageIndex { get; set; }

        /// <summary>
        /// 总条数
        /// </summary>
        public int pageSize { get; set; }

        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? Earbugles { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? Sdate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? Edate { get; set; }
        /// <summary>
        /// 死亡原因
        /// </summary>
        public DeathCause? DeathCause { get; set; }
    }
}